package day4;

/**
 * @author oldliu
 * @since 1.0
 */
public class TeacherTest {
    public static void main(String[] args) {
        Teacher th=new Teacher();
        th.name="老赵";
        Student st=new Student();
        st.name="李若水";
        st.quizno="48392922";
        st.math=99;
        st.english=122;
        st.chinese=130;
        st.zonghe=299;
        int z=th.zongfen(st);
        System.out.println("总分是："+z);
    }
}
